﻿<%@ Page Title="Sửa thông tin tài khoản" Language="C#" AutoEventWireup="true" CodeBehind="AccountEdit.aspx.cs" Inherits="VIT.Web.Admin.AccountEdit" %>
<%@ Register Assembly="VIT.Web.Controls" Namespace="VIT.Web.Controls" TagPrefix="VIT" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../../Includes/Validation/Validation.css" rel="stylesheet" type="text/css" />
    <script src="../../Includes/Validation/ValidationEngine.js" type="text/javascript"></script>
    <script src="../../Includes/Validation/Validation.js" type="text/javascript"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <form id="aspnetForm" runat="server"> 
        <!-- Content (Right Column) -->
        <div id="content" class="box">
            <asp:Panel ID="pnAlert" runat="server">
                <p class="msg info" id="lblThanhCong" runat="server" visible="false">Dữ liệu đã lưu thành công.</p>
                <p class="msg done" id="lblThatBai" runat="server" visible="false">Không thể lưu dữ liệu.</p>
	        </asp:Panel>
            <div id="ButtonInsert" class="toolbar" runat="server" visible="false">
                <VIT:Submit ID="Save" runat="server" Function="Account_Insert" ToolTip="Lưu và quay lại danh sách" CssClass="icon-32-save" BorderStyle="None" onclick="Save_Click" OnClientClick="$('#aspnetForm').validationEngine();"/>
                <VIT:Submit ID="Apply" runat="server" Function="Account_Insert" ToolTip="Lưu lại" CssClass="icon-32-apply" BorderStyle="None" onclick="Apply_Click" OnClientClick="$('#aspnetForm').validationEngine();" />
                <asp:Button runat="server" ToolTip="Hủy bỏ" CssClass="icon-32-cancel" BorderStyle="None" onclick="Cancel_Click"/>
            </div> 
            <div id="ButtonModify" class="toolbar" runat="server" visible="false">
                <VIT:Submit ID="Save2" runat="server" Function="Account_Modify" ToolTip="Lưu và quay lại danh sách" CssClass="icon-32-save" BorderStyle="None" onclick="Save_Click" OnClientClick="$('#aspnetForm').validationEngine();"/>
                <VIT:Submit ID="Apply2" runat="server" Function="Account_Modify" ToolTip="Lưu lại" CssClass="icon-32-apply" BorderStyle="None" onclick="Apply_Click" OnClientClick="$('#aspnetForm').validationEngine();" />
                <asp:Button runat="server" ToolTip="Hủy bỏ" CssClass="icon-32-cancel" BorderStyle="None" onclick="Cancel_Click"/>
            </div> 
            <div class="clr"></div>          
            <fieldset>
		        <legend>Thông tin tài khoản</legend>
                <table class="nostyle" style="float:left">
                    <tr>
                        <td align="right">Tài khoản : </td>
                        <td><asp:TextBox ID="UserName" runat="server" CssClass="validate[noSpecialCharacters,length[3,50]]" Width="200px" MaxLength="50"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="right">Mật khẩu : </td>
                        <td>
                            <asp:TextBox ID="Password" runat="server" CssClass="validate[noSpecialCharacters,length[6,20]]" Width="200px" MaxLength="20"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">Họ tên : </td>
                        <td>
                            <asp:TextBox ID="FullName" runat="server" Width="200px" MaxLength="20"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </fieldset>

            <script type="text/javascript">
                $("#aside ul li#AccountList").addClass("submenu-active");
            </script>
        </div>
    </form>
</asp:Content>
